package com.mrdeer.common.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;


@ResponseStatus(HttpStatus.NOT_FOUND)
public class NotFoundException extends BusinessException {
    public NotFoundException(String message) {
        super(message, 404);
    }

    public NotFoundException() {
        this("记录不存在");
    }
}
